package com.spring.dao;

import com.spring.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ArticleDao {
     /**添加新的文章信息*/
     int insert(Article article);

     /**基于id查询文章信息*/
     Article selectById(Integer id);
}
